{include file="header.html"}
<script type="text/javascript">
//<!CDATA[
$(function(){
    $("#search").click(function(){
    	$("#act").val("index");
    	$("#form1").submit();
    });
});
//]]>
</script>

<div id="rightTop">
	<p>运程方案</p>
	<ul class="subnav">
		<li><span>管理</span>
		</li>
		<li><a class="btn1" href="index.php?app=haul_define_main&amp;act=add">新增</a>
		</li>
	</ul>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form method="get">
			<div class="left">
                    <input type="hidden" name="app" value="haul_define_main" />
                <input type="hidden" name="act" value="index" />
             	 	运程方案:
                <input class="queryInput" type="text" name="zhdm_name" value="{$smarty.get.zhdm_name}" />

                 	运程类型:
                 <select class="querySelect" id="zhdm_type" name="zhdm_type">
                <option value="">{$lang.select_pls}</option>
                {html_options options=$types selected=$smarty.get.zhdm_type}
                </select>
                <input type="submit" class="formbtn" value="{$lang.query}" />
			</div>
		</form>
	</div>
	<div class="fontr">{include file=page.top.html}</div>
	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $haul_define_main}-->
		<tr class="tatr1">
			<td width="20" class="firstCell"><input type="checkbox"
				class="checkall" />
			</td>
			<td align="left">运程定义</td>
			<td align="left">业务类型</td>
			<td>所属运营商</td>
			<td align="left">货主</td>
			<td>备注</td>

			<td style="text-align: center;width: 100px">{$lang.handler}</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$haul_define_main item=w}-->
		<tr class="tatr2">
		    <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$w.zhdm_tid}"/></td>
			<td>{$w.zhdm_name|escape}</td>
			<td>{$w.zhdm_type|escape}</td>
			<td>{$w.carrier_name|escape}</td>
			<td>{$w.consignor_name|escape}</td>
			<td>{$w.zhdm_note}</td>
			
                     
            <td style="text-align: center;">

            <a href="index.php?app=haul_define_main&amp;act=add&amp;id={$w.zhdm_tid}">{$lang.edit}</a>
             |<a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=haul_define_main&amp;act=drop&amp;id={$w.zhdm_tid}');">{$lang.drop}</a></td>
              
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="7">{$lang.no_data}</td>
		</tr>
		<!--{/foreach}-->
	</table>
	<!--{if $haul_define_main}-->
	<div id="dataFuncs">
		<div class="pageLinks">{include file=page.bottom.html}</div>
		<div id="batchAction" class="left paddingT15">
			&nbsp;&nbsp;
			 <input class="formbtn batchButton" type="button"
				value="{$lang.drop}" name="id" uri="index.php?app=haul_define_main&act=drop"
				presubmit="confirm('{$lang.drop_confirm}');" /> &nbsp;&nbsp;
			<!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
		</div>
		<div class="clear:both;"></div>
	</div>
	<div class="clear"></div>
	<!--{/if}-->
</div>
{include file="footer.html"}
